<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <title>任务管理系统</title>
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <div class="container">
    <h1>任务管理系统</h1>
    <div class="task-input">
      <input type="text" id="task-input" placeholder="请输入任务内容..." />
      <button onclick="addTask()">添加</button>
    </div>
    <ul id="task-list"></ul>
    <div class="stats">
      总任务：<span id="total-count">0</span>，
      已完成：<span id="done-count">0</span>
    </div>
  </div>

  <script src="script.js"></script>
</body>
</html>
